import{d as k,a as d,o as n,b as r,w as e,Y as l,t as i,f as t,e as s,W as m,F as _,c,m as p,p as y}from"./index-c80Lh_is.js";import{S as b}from"./StatusBadge-UNqSn95Q.js";import{_ as v}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-bUx_9c1d.js";import"./AccordionList-4Q_QXouZ.js";const w={class:"stack","data-testid":"detail-view-details"},x={class:"columns"},z={key:0,"data-testid":"zone-ingress-subscriptions"},N=k({__name:"ZoneIngressDetailView",props:{data:{}},setup(g){const a=g;return(I,V)=>{const u=d("KCard"),h=d("AppView"),f=d("RouteView");return n(),r(f,{name:"zone-ingress-detail-view"},{default:e(({t:o})=>[s(h,null,{default:e(()=>[p("div",w,[s(u,null,{default:e(()=>[p("div",x,[s(l,null,{title:e(()=>[t(i(o("http.api.property.status")),1)]),body:e(()=>[s(b,{status:a.data.state},null,8,["status"])]),_:2},1024),t(),s(l,null,{title:e(()=>[t(i(o("http.api.property.address")),1)]),body:e(()=>[a.data.zoneIngress.socketAddress.length>0?(n(),r(m,{key:0,text:a.data.zoneIngress.socketAddress},null,8,["text"])):(n(),c(_,{key:1},[t(i(o("common.detail.none")),1)],64))]),_:2},1024),t(),s(l,null,{title:e(()=>[t(i(o("http.api.property.advertisedAddress")),1)]),body:e(()=>[a.data.zoneIngress.advertisedSocketAddress.length>0?(n(),r(m,{key:0,text:a.data.zoneIngress.advertisedSocketAddress},null,8,["text"])):(n(),c(_,{key:1},[t(i(o("common.detail.none")),1)],64))]),_:2},1024)])]),_:2},1024),t(),a.data.zoneIngressInsight.subscriptions.length>0?(n(),c("div",z,[p("h2",null,i(o("zone-ingresses.routes.item.subscriptions.title")),1),t(),s(u,{class:"mt-4"},{default:e(()=>[s(v,{subscriptions:a.data.zoneIngressInsight.subscriptions},null,8,["subscriptions"])]),_:1})])):y("",!0)])]),_:2},1024)]),_:1})}}});export{N as default};
